﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CloudClass.Models
{
    //收藏表(笔记和讨论)
    public class Collection
    {
        //编号
        public virtual int Id { get; set; }

        //用户编号
        public virtual UserInfo UserInfo { get; set; }

        //收藏类型
        public virtual int CollectionType { get; set; }

        //类型编号
        //public virtual CourseInfo CourseInfo { get; set; }

        /// <summary>
        /// 笔记
        /// </summary>
        public virtual Notes Notes { get; set; }

        /// <summary>
        /// 讨论
        /// </summary>
        public virtual Talk Talk { get; set; }
    }
}